How to calculate cable size for motor